package com.convert;

import org.junit.Test;

/**
 * @author: csh
 * @Date: 2021/11/22 07:24
 * @Description:类型转换指导
 */
public class ClassCastName {


    @Test
    public void upCast2(){
        int i = 123123123;
        float f = i;
        System.out.println(f);

        double d = i;
        System.out.println(d);
    }

    public void upCase3(byte b){
        int i = b;
        long l = b;
        double d = b;
    }
}
